package com.frogs.ucenter.entity;

import java.io.Serializable;
import java.util.Date;

public class UserIntegralBalance implements Serializable {
    private static final long serialVersionUID = 9167824816628639075L;

    /**
     * This field corresponds to the database column user_integral_balance.id
     */
    private Integer id = 0;

    /**
     * This field corresponds to the database column user_integral_balance.update_time
     */
    private Date updateTime = new Date();

    /**
     * This field corresponds to the database column user_integral_balance.integral_usable
     */
    private Integer integralUsable = 0;

    /**
     * This field corresponds to the database column user_integral_balance.integral_used
     */
    private Integer integralUsed = 0;

    /**
     * This method returns the value of the database column user_integral_balance.id
     *
     * @return the value of user_integral_balance.id
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets the value of the database column user_integral_balance.id
     *
     * @param id the value for user_integral_balance.id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method returns the value of the database column user_integral_balance.update_time
     *
     * @return the value of user_integral_balance.update_time
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method sets the value of the database column user_integral_balance.update_time
     *
     * @param updateTime the value for user_integral_balance.update_time
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method returns the value of the database column user_integral_balance.integral_usable
     *
     * @return the value of user_integral_balance.integral_usable
     */
    public Integer getIntegralUsable() {
        return integralUsable;
    }

    /**
     * This method sets the value of the database column user_integral_balance.integral_usable
     *
     * @param integralUsable the value for user_integral_balance.integral_usable
     */
    public void setIntegralUsable(Integer integralUsable) {
        this.integralUsable = integralUsable;
    }

    /**
     * This method returns the value of the database column user_integral_balance.integral_used
     *
     * @return the value of user_integral_balance.integral_used
     */
    public Integer getIntegralUsed() {
        return integralUsed;
    }

    /**
     * This method sets the value of the database column user_integral_balance.integral_used
     *
     * @param integralUsed the value for user_integral_balance.integral_used
     */
    public void setIntegralUsed(Integer integralUsed) {
        this.integralUsed = integralUsed;
    }
}